import { log } from "console";

/* 
 * 检验字符是否为汉字  
 */
export function checkHanzi(charValue) {
    var reg = /[\u4e00-\u9fa5]{3,}/;
    if (!reg.test(charValue)) {
        return false;
    }
    return true;
}

fetch('http://121.40.194.174:8888/anything?a=1')
    .then(res => {
        return res.json()
    })
    .then(json => {
        log(json)
    })


